package com.dyg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dyg.model.RoleResource;

public interface RoleresourceMapper {

	public Integer insertRoleresource(RoleResource roleresource);

	public void deleteRoleresourceById(String roleresourceId);

	public void updateRoleresource(RoleResource roleresource);

	public RoleResource findRoleresourceById(String roleresourceId);

	public List<RoleResource> findRoleresourceList();

	public void deleteRoleResource(@Param("roleId")Integer roleId, @Param("resourceId")Integer resourceId);
	

}
